<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'merchant-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'name'); ?>
		<?php echo $form->textField($model,'name',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'name'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'address'); ?>
		<?php echo $form->textField($model,'address',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'address'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'phone'); ?>
		<?php echo $form->textField($model,'phone',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'phone'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'fax'); ?>
		<?php echo $form->textField($model,'fax',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'fax'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'otherName'); ?>
		<?php echo $form->textField($model,'otherName',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'otherName'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'bossName'); ?>
		<?php echo $form->textField($model,'bossName',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'bossName'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'bossPhone'); ?>
		<?php echo $form->textField($model,'bossPhone',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'bossPhone'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'contactName'); ?>
		<?php echo $form->textField($model,'contactName',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'contactName'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'contactPhone'); ?>
		<?php echo $form->textField($model,'contactPhone',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'contactPhone'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'serviceScope'); ?>
		<?php echo $form->textField($model,'serviceScope',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'serviceScope'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'note'); ?>
		<?php echo $form->textField($model,'note',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'note'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'createTime'); ?>
		<?php echo $form->textField($model,'createTime'); ?>
		<?php echo $form->error($model,'createTime'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'createUserId'); ?>
		<?php echo $form->textField($model,'createUserId'); ?>
		<?php echo $form->error($model,'createUserId'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'updateTime'); ?>
		<?php echo $form->textField($model,'updateTime'); ?>
		<?php echo $form->error($model,'updateTime'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'updateUserId'); ?>
		<?php echo $form->textField($model,'updateUserId'); ?>
		<?php echo $form->error($model,'updateUserId'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->